package com.tuling.common.generic01;

public class Father<T1, T2> {
    T1 t1;
    T2 t2;

    public Father(T1 t1, T2 t2) {
        this.t1 = t1;
        this.t2 = t2;
        System.out.println("t1的类型：" + this.t1.getClass());
        System.out.println("t2的类型：" + this.t2.getClass());
    }
}
